<%@page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="x" uri="/soar-bx-tags"%>
<x:HeaderParts modal="true" />

<x:MainPartsTag modal="true">
	<x:zone name="MainZone">
		<x:Form action="org/organization.shtml">
			<x:ParamsParts>
				<input id="hiddenStatus" type="hidden"
					value="<s:property value="organization.STATUS"/>"></input>
				<x:TextField name="id" type="hidden" value="organization.ID" />
			</x:ParamsParts>

			<x:DataViewParts>
				<x:PanelBody>
					<tr>
						<td>名称：</td>
						<td colspan="5"><x:TextField name="orgName" title="名称" isMust="1" style="width:400px;"
								maxLen="200" value="organization.ORG_NAME"></x:TextField></td>
					</tr>
					<tr>
						<td>机构代码：</td>
						<td><x:TextField name="orgCode" title="机构代码" isMust="1"
								maxLen="10" value="organization.ORG_CODE"></x:TextField></td>
						<td>联系电话：</td>
						<td colspan="3"><x:TextField name="telphone" title="联系电话" isMust="1"
								maxLen="20" dataType="Telephone" value="organization.TELPHONE"></x:TextField>
						</td>
					</tr>
					<tr>
						<td>联系手机：</td>
						<td><x:TextField name="mobile" title="联系手机" isMust="1"
								maxLen="20" dataType="Telephone" value="organization.MOBILE"></x:TextField>
						</td>
						<td>联系邮件：</td>
						<td><x:TextField name="email" title="联系邮件" maxLen="50" dataType="Email"
								value="organization.EMAIL"></x:TextField></td>
								<td >状态：</td>
						<td><label id="_qy"><input type="radio" value="1"
								checked="checked" name="status" />正常</label> <label id="_jy"><input
								type="radio" value="0" name="status"
								<s:if test="users.STATUS==\"0\"">checked="checked"</s:if> />禁用</label>
					</td>
					</tr>
				</x:PanelBody>
				<x:PanelFooter>
					<x:ButtonsParts>
						<x:Button value="保存" role="success" size="sm" onclick="dosave()" />
						<x:Button value="关闭" role="default" size="sm" onclick="doclose()" />
					</x:ButtonsParts>
				</x:PanelFooter>
			</x:DataViewParts>


			<x:JsParts fn="dosave,doclose">
function dosave()
	{
		X.Submit("doSave","1",true);
	};
function doclose()
	{
		X.CloseLayer();
	};
			
			</x:JsParts>
		</x:Form>
	</x:zone>
</x:MainPartsTag>
